package demo4;

// 具体命令：复制
public class CopyCommand extends Command {
    public CopyCommand(EditorMediator mediator) {
        super(mediator);
    }

    @Override
    public void execute() {
        mediator.copy(); // 委托中介者处理
    }
}
